package com.idTech;

import cpw.mods.fml.common.registry.GameData;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.item.Item;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EntityDamageSourceIndirect;

public class Heart extends Item 
{
		
		public Heart(int id)         
		{        
        	super(id);
        	
        	setMaxStackSize(1);
        	setCreativeTab(CreativeTabs.tabMisc);
        	setUnlocalizedName("Kiwi:Heart");   	
        }
		
		public static DamageSource causeArrowDamage(EntityArrow par0EntityArrow, Entity par1Entity)
		{
			return (new EntityDamageSourceIndirect("arrow", par0EntityArrow, par1Entity)).setProjectile();
		}
}
	